<?php

namespace Common\Taglib;

class articleview
{
    public function run($opt)
    {
        $id = intval($opt['id']);
        D('Article')->where(array('id' => $id))->setInc('click');
        $info = D('Article')->get_one_id($id);
        return $info;
    }
}